package com.qidian.mes.gateway.error;

import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2025/7/22 10:32
 * @description
 */
@RequestMapping("/error")
public class ErrorController {
    @RequestMapping
    public String error(Exception e) {
        e.printStackTrace();
        return "error";
    }
}
